package com.anyisn.anyflickr.common
{
	import com.anyisn.anyflickr.shell.ShellFacade;

	public class ApplicationConstants
	{
		public static const nativeMenuData:Array = [{label: 'Tile', mnemonicIndex: 0, children: [
														{label: 'Interestingness', controlKey: true, keyEquivalent: 'i', mnemonicIndex: 0, name: ShellFacade.TILE_INTERESTINGNESS_GET_LIST},
														{label: 'Search', controlKey: true, keyEquivalent: 's', mnemonicIndex: 0, name: ShellFacade.TILE_PHOTOS_SEARCH},
														{label: 'Favorites', controlKey: true, keyEquivalent: 'f', mnemonicIndex: 0, name: ShellFacade.TILE_FAVORITES_GET_LIST}
														]},
													{label: 'Slide', mnemonicIndex: 0, children: [
														{label: 'Interestingness', controlKey: true, keyEquivalent: 'I', mnemonicIndex: 0, name: ShellFacade.SLIDE_INTERESTINGNESS_GET_LIST},
														{label: 'Search', controlKey: true, keyEquivalent: 'S', mnemonicIndex: 0, name: ShellFacade.SLIDE_PHOTOS_SEARCH},
														{label: 'Favorites', controlKey: true, keyEquivalent: 'F', mnemonicIndex: 0, name: ShellFacade.SLIDE_FAVORITES_GET_LIST}
														]},
													{label: 'You', mnemonicIndex: 0, children: [
														{label: 'Login', mnemonicIndex: 3, name:ShellFacade.LOGIN},
														{label: 'Logout', mnemonicIndex: 3, name: ShellFacade.LOGOUT}
														]},
													{label: 'People', mnemonicIndex: 0, name: ShellFacade.SHOW_PEOPLE_WIN},
													{label: 'View', mnemonicIndex: 0, children: [
														{label: 'Status Bar', mnemonicIndex: 0, name:STATUSBAR},
														{label: 'Full Screen', mnemonicIndex: 0, name: FULLSCREEN},
														{type: 'separator'},
														{label: 'Settings', mnemonicIndex: 2, name: SETTINGS}
														]},
													{label: 'Help', mnemonicIndex: 0, children: [
														{label: 'About AnyFlickr', mnemonicIndex: 0, name:ABOUT},
														{label: 'Check for Updates', mnemonicIndex: 0, name: UPDATE}
														]}
													];	
		public static const photoMenu:Array = [	{label: 'Favorite', children: [
													{label: 'Add', name: ShellFacade.FAVORITES_ADD},
													{label: 'Remove', name: ShellFacade.FAVORITES_REMOVE}
													]},
												{label: 'Download', name: ShellFacade.PHOTO_PREPARE_DOWNLOAD},
												{label: 'Owner', children: [
													{label: 'Profile', name: ShellFacade.PERSON_ADD_PREPARE},
													{label: 'Photostream', children: [
														{label: 'Tile', name: ShellFacade.TILE_PEOPLE_GET_PUBLIC_PHOTOS},
														{label: 'Web', name: ShellFacade.NAVIGATE_TO_PHOTOSTREAM}
														]}
													]},
												{label: 'Web Page', name: ShellFacade.NAVIGATE_TO_PHOTOPAGE},
												{label: '<-', name: 'back'}
												];
		// STATE
		public static const STATUSBAR:String = 'StatusBar';
		public static const FULLSCREEN:String = 'FullScreen';
		public static const SETTINGS:String = 'Settings';
		public static const ABOUT:String = 'About';
		public static const UPDATE:String = 'Update';
		public static const GOOGLE_TRANSLATE_URL_BASE:String = 'http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&q=';
		public static const LANGUAGE_FROM:Array = [	{label:'UNKNOWN' , value:''},
														{label:'AFRIKAANS',value:'af'},
														{label:'简体中文',	value:'zh-CN'},
														{label:'繁體中文',	value:'zh-TW'},
														{label:'JAPANESE',	value:'ja'},
														{label:'ENGLISH',	value:'en'},
														{label:'FRENCH',	value:'fr'},
														{label:'THAI',		value:'th'},
														{label:'KOREAN',	value:'ko'}];
		public static const LANGUAGE_TO:Array = [
										//				{label:'UNKNOWN' , value:''},
														{label:'AFRIKAANS',value:'af'},
										//				{label:'ALBANIAN', 	value:'sq'},
										//				{label:'AMHARIC', 		value:'am'},
										//				{label:'ARABIC', 		value:'ar'},
										//				{label:'ARMENIAN' , 	value:'hy'},
										//				{label:'AZERBAIJANI', value:'az'},
										//				{label:'BASQUE',		value:'eu'},
										//				{label:'BELARUSIAN' ,	value:'be'},
										//				{label:'BENGALI' ,		value:'bn'},
										//				'BIHARI' , 'bh';
										//				'BRETON' , 'br';
										//				'BULGARIAN' , 'bg';
										//				'BURMESE' , 'my';
										//				'CATALAN' , 'ca',
										//				'CHEROKEE' , 'chr',
										//				'CHINESE' , 'zh',
														{label:'简体中文',	value:'zh-CN'},
														{label:'繁體中文',	value:'zh-TW'},
														{label:'JAPANESE',	value:'ja'},
														{label:'ENGLISH',	value:'en'},
														{label:'FRENCH',	value:'fr'},
														{label:'THAI', 		value:'th'},
														{label:'KOREAN',	value:'ko'}
										//				'CORSICAN' , 'co',
										//				'CROATIAN' , 'hr',
										//				'CZECH' , 'cs',
										//				'DANISH' , 'da',
										//				'DHIVEHI' , 'dv',
										//				'DUTCH', 'nl',  
										//				'ESPERANTO' , 'eo',
										//				'ESTONIAN' , 'et',
										//				'FAROESE' , 'fo',
										//				'FILIPINO' , 'tl',
										//				'FINNISH' , 'fi',
										//				'FRISIAN' , 'fy',
										//				'GALICIAN' , 'gl',
										//				'GEORGIAN' , 'ka',
										//				'GERMAN' , 'de',
										//				'GREEK' , 'el',
										//				'GUJARATI' , 'gu',
										//				'HAITIAN_CREOLE' , 'ht',
										//				'HEBREW' , 'iw',
										//				'HINDI' , 'hi',
										//				'HUNGARIAN' , 'hu',
										//				'ICELANDIC' , 'is',
										//				'INDONESIAN' , 'id',
										//				'INUKTITUT' , 'iu',
										//				'IRISH' , 'ga',
										//				'ITALIAN' , 'it',
										//				'JAVANESE' , 'jw',
										//				'KANNADA' , 'kn',
										//				'KAZAKH' , 'kk',
										//				'KHMER' , 'km',
										//				'KURDISH', 'ku',
										//				'KYRGYZ', 'ky',
										//				'LAO' , 'lo',
										//				'LATIN' , 'la',
										//				'LATVIAN' , 'lv',
										//				'LITHUANIAN' , 'lt',
										//				'LUXEMBOURGISH' , 'lb',
										//				'MACEDONIAN' , 'mk',
										//				'MALAY' , 'ms',
										//				'MALAYALAM' , 'ml',
										//				'MALTESE' , 'mt',
										//				'MAORI' , 'mi',
										//				'MARATHI' , 'mr',
										//				'MONGOLIAN' , 'mn',
										//				'NEPALI' , 'ne',
										//				'NORWEGIAN' , 'no',
										//				'OCCITAN' , 'oc',
										//				'ORIYA' , 'or',
										//				'PASHTO' , 'ps',
										//				'PERSIAN' , 'fa',
										//				'POLISH' , 'pl',
										//				'PORTUGUESE' , 'pt-PT',
										//				'PUNJABI' , 'pa',
										//				'QUECHUA' , 'qu',
										//				'ROMANIAN' , 'ro',
										//				'RUSSIAN' , 'ru',
										//				'SANSKRIT' , 'sa',
										//				'SCOTS_GAELIC' , 'gd',
										//				'SERBIAN' , 'sr',
										//				'SINDHI' , 'sd',
										//				'SINHALESE' , 'si',
										//				'SLOVAK' , 'sk',
										//				'SLOVENIAN' , 'sl',
										//				'SPANISH' , 'es',
										//				'SUNDANESE' , 'su',
										//				'SWAHILI' , 'sw',
										//				'SWEDISH' , 'sv',
										//				'SYRIAC' , 'syr',
										//				'TAJIK' , 'tg',
										//				'TAMIL' , 'ta',
										//				'TATAR' , 'tt',
										//				'TELUGU' , 'te',
										//				'TIBETAN' , 'bo',
										//				'TONGA' , 'to',
										//				'TURKISH' , 'tr',
										//				'UKRAINIAN' , 'uk',
										//				'URDU' , 'ur',
										//				'UZBEK' , 'uz',
										//				'UIGHUR' , 'ug',
										//				'VIETNAMESE' , 'vi',
										//				'WELSH' , 'cy',
										//				'YIDDISH' , 'yi',
										//				'YORUBA' , 'yo',
		];
	}
}